package com.treasure.mall.biz.dto.integral;

import com.treasure.mall.biz.dto.BaseSaveDTO;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author allan
 * @version 1.0.0
 * @date 2020/8/24
 */
@Data
public class ProductSaveDTO implements BaseSaveDTO {
    private static final long serialVersionUID = -8785411458587363196L;

    private long id;
    private String title;
    private String subTitle;
    /**
     * 材质
     */
    private String propMaterial;
    /**
     * 尺寸
     */
    private String propSize;

    /**
     * 产地
     */
    private String location;

    /**
     * 重量单位
     */
    private String weightUnit;

    /**
     * weight
     */
    private BigDecimal weight;

    /**
     * 市场价格
     */
    private BigDecimal price;
    /**
     * 所需积分
     */
    private long integral;
    /**
     * 库存
     */
    private int store;
    /**
     * 限兑数量
     */
    private int limitExchange;
    /**
     * 商品图片，英文逗号分割
     */
    private String images;
    /**
     * 商品描述
     */
    private String desc;
    /**
     * 是否上架
     */
    private boolean published;
}
